﻿<Window x:Class="Prism.Games.GalEngine.Scripts.Parser.GameRunner.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:input="clr-namespace:Prism.Games.GalEngine.Scripts.Parser.Input;assembly=InputModel"
         ResizeMode="CanMinimize" FontFamily="Microsoft YaHei" 
        Title="MainWindow" Height="576" Width="1024" Background="Black">
    <Grid Name="XM">
        <Canvas>
            <Grid Name="MainLayout">

                <ContentControl Name="ContentControl" />
                <ContentControl Name="SecondContent" />
                <ContentControl Name="ThirdContent" />
                <ContentControl Name="FourthContent" />

                <Grid.CommandBindings>
                    <CommandBinding Command="input:GameCommands.Next" CanExecute="OnNextCanExecute" Executed="OnNextExecuted" />
                    <CommandBinding Command="input:GameCommands.NewGame" CanExecute="OnNewGameCanExecute" Executed="OnNewGameExecuted" />
                    <CommandBinding Command="input:GameCommands.LoadGame" CanExecute="OnLoadGameCanExecute" Executed="OnLoadGameExecuted" />
                    <CommandBinding Command="input:GameCommands.SaveGame" CanExecute="OnSaveGameCanExecute" Executed="OnSaveGameExecuted" />
                    <CommandBinding Command="input:GameCommands.Config" CanExecute="OnConfigCanExecute" Executed="OnConfigExecuted" />
                    <CommandBinding Command="input:GameCommands.Exit" CanExecute="OnExitCanExecute" Executed="OnExitExecuted" />
                    <CommandBinding Command="input:GameCommands.Title" CanExecute="OnTitleCanExecute" Executed="OnTitleExecuted" />
                    <CommandBinding Command="input:GameCommands.Back" CanExecute="OnBackCanExecute" Executed="OnBackExecuted" />
                    <CommandBinding Command="input:GameCommands.Save" CanExecute="OnSaveCanExecute" Executed="OnSaveExecuted" />
                    <CommandBinding Command="input:GameCommands.Load" CanExecute="OnLoadCanExecute" Executed="OnLoadExecuted" />
                    <CommandBinding Command="input:GameCommands.Auto" CanExecute="OnAutoCanExecute" Executed="OnAutoExecuted" />
                    <CommandBinding Command="input:GameCommands.HideMenu" CanExecute="OnHideMenuCanExecute" Executed="OnHideMenuExecuted" />

                    <CommandBinding Command="input:GameCommands.MessageBannerOK" CanExecute="OnMessageBannerOKCanExecute" Executed="OnMessageBannerExecuted" />
                    <CommandBinding Command="input:GameCommands.MessageBannerCancel" CanExecute="OnMessageBannerCancelCanExecute" Executed="OnMessageBannerCancelExecuted" />

                    <CommandBinding Command="input:GameCommands.OpenLog" CanExecute="OnOpenLogCanExecute" Executed="OnOpenLogExecuted" />
                    <CommandBinding Command="input:GameCommands.Skip" CanExecute="OnSkipCanExecute" Executed="OnSkipExecuted" />

                    <CommandBinding Command="input:GameCommands.ChangeAudioVolumeValue" CanExecute="OnChangeAudioVolumeValueCanExecute" Executed="OnChangeAudioVolumeValueExecuted" />

                    <CommandBinding Command="input:GameCommands.FullScreen" CanExecute="OnFullScreenCanExecute" Executed="OnFullScreenExecuted" />
                    <CommandBinding Command="input:GameCommands.Window" CanExecute="OnWindowCanExecute" Executed="OnWindowExecuted" />

                    <CommandBinding Command="input:GameCommands.SmallSize" CanExecute="OnSmallSizeCanExecute" Executed="OnSmallSizeExecuted" />
                    <CommandBinding Command="input:GameCommands.OriginalSize" CanExecute="OnOriginalSizeCanExecute" Executed="OnOriginalSizeExecuted" />

                    <CommandBinding Command="input:GameCommands.SkipNotRead" CanExecute="OnSkipNotReadCanExecute" Executed="OnSkipNotReadExecuted" />
                    <CommandBinding Command="input:GameCommands.StopNotRead" CanExecute="OnStopNotReadCanExecute" Executed="OnStopNotReadExecuted" />

                    <CommandBinding Command="input:GameCommands.ButtonMouseEnter" CanExecute="OnButtonMouseEnterCanExecute" Executed="OnButtonMouseEnterExecuted" />
                    <CommandBinding Command="input:GameCommands.ExecuteOption" CanExecute="OnExecuteOptionCanExecute" Executed="OnExecuteOptionExecuted" />


                </Grid.CommandBindings>
            </Grid>
            <Grid Background="Black" Name="TopBlock" />
            <Grid Background="Black" Name="BottomBlock" />
        </Canvas>
    </Grid>
</Window>
